#ifndef _DISP_H_
#define _DISP_H_
#include <windows.h>
#include "data.h"

extern HANDLE hout;

void initStdHandle();

void initWindows();

void setCursorPos(short x, short y);

void dispDrawGameBackground();

void dispDrawGameCenter();

void dispDrawScore(int score);

void dispDrawGrade(int grade);

void drawRect(int x,int y,int width,int height,int frameStyle,int centerStyle);

void drawNumber(int num);

void dispDrawDefaultInfo();

void dispDrawStartInfo();

void dispDrawPauseInfo();

void dispDrawOverInfo(int score);

void dispDrawSnake(Snake *s);

void dispDrawFood(Food *food);

void dispDrawSystemTime();

#endif
